package com.bnz.mp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xy
 * @date 2022/10/20
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Student {
    @TableId(type = IdType.ASSIGN_ID )
    private String sid;
    private String sname;
    private String sex;
    private String age;
    private String addr;
    private Integer cid;
    @TableField(exist = false)
    private String cname;

}
